<template>
    <van-nav-bar title="首页" />
    <Search></Search>
    <van-swipe :autoplay="2000" lazy-render>
        <van-swipe-item v-for="item in swiperdata" :key="item">
            <img :src="item.image_src" style="width: 100%;height: 200px;" />
        </van-swipe-item>
    </van-swipe>
</template>

<script setup>
import Search from '@/components/search.vue'
</script>

<style lang="scss" scoped></style>